package com.common.project.common;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TableInfo {
    String columnName() default "";

    String tableNameZH() default "";

    String tableNameEN() default "";

    String alias() default "";

    String fieldName() default "";

    String entryClass() default "";

    String fileType() default "java.lang.String";

    String courrentFieldName() default "";

    /**
     *  0 不是排序字段  1  是排序字段
     * @return
     */
    String isSort() default "0";

    String foreignTableName() default "";
    String foreignTableClass() default "";

    String foreignColumn() default "";
    String foreignNeedValue() default "";

}
